home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / dev / c / ExtrasLib.lha / ExtrasLib / Include / clib / extras / gui_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-30  |  1.6 KB  |  61 lines

  1. #ifndef CLIB_EXTRAS_GUI_PROTOS_H
  2. #define CLIB_EXTRAS_GUI_PROTOS_H
  3.  
  4. #ifndef EXTRAS_GUI_H
  5. #include <extras/gui.h>
  6. #endif
  7.  
  8. #ifndef EXEC_TYPES_H
  9. #include <exec/types.h>
  10. #endif
  11.  
  12. #ifndef INTUITION_INTUITION_H
  13. #include <intuition/intuition.h>
  14. #endif
  15.  
  16. #ifndef INTUITION_SCREENS_H
  17. #include <intuition/screens.h>
  18. #endif
  19.  
  20. #ifndef GRAPHICS_TEXT_H
  21. #include <graphics/text.h>
  22. #endif
  23.  
  24. #ifndef GRAPHICS_RASTPORT_H
  25. #include <graphics/rastport.h>
  26. #endif
  27.  
  28. LONG  gui_StrFontLen(struct TextFont *Font, STRPTR Str);
  29. LONG  gui_StrLength (Tag Tags, ... );
  30. ULONG gui_MaxStrFontLen(struct TextFont *Font, ULONG Chars, UBYTE LowChar, UBYTE HighChar);
  31.  
  32. void  gui_GhostRect(struct RastPort *RP, ULONG Pen, WORD X0, WORD Y0, WORD X1, WORD Y1);
  33.  
  34. LONG  gui_RenderText(struct RastPort *RP, STRPTR String, Tag Tags, ... );
  35. LONG  gui_RenderTextA(struct RastPort *RP, STRPTR String, struct TagItem *TagList);
  36.  
  37.  
  38. /* The following is Obsolete */
  39. void DrawBevelBoxes(struct Window *Win, APTR VI, struct BevelBox *BBox,
  40.                     LONG NumBoxes, float XScale, float YScale);
  41.  
  42. BOOL GetGUIScale(struct TextAttr   *TA,
  43.                  struct GUI_String *Strings,
  44.                  float  *XScale,
  45.                  float  *YScale);
  46.  
  47. BOOL CheckWindowSize(struct Screen *Scr,
  48.                      WORD Width,
  49.                      WORD Height,
  50.                      float XScale,
  51.                      float YScale);
  52.  
  53. BOOL CheckInnerWindowSize(struct Screen *Scr,
  54.                      WORD Width,
  55.                      WORD Height,
  56.                      float XScale,
  57.                      float YScale);
  58.  
  59.  
  60. #endif /* CLIB_EXTRAS_GUI_PROTOS_H */
  61.